package com.zhouxl.jackson.xml.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

/**
 * @author zhouxl
 * @DATE 2021/8/26
 * @descriptoin
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)   //忽略掉xml里不关注的element
public class Ks {

    @JacksonXmlProperty(isAttribute = true)
    private String id;

    @JacksonXmlProperty(isAttribute = true)
    private String mc;

    @JacksonXmlProperty(isAttribute = true)
    private String zdttys;

}
